from PIL import Image
im = Image.new("RGB", (100, 100), "pink")
im.save("pink.jpg")
print(im.format, im.size, im.mode)
